import request from '@/utils/request'
// 新增岗位
export function addPost(params) {
    return request({
        url: '/post/addPost',
        method: 'post',
        headers: {
            "Content-Type": "application/json;charset=UTF-8",
        },
        data: params
    })
}
// 岗位列表
export function queryPostList(params) {
    return request({
        url: '/post/queryPostList',
        method: 'post',
        headers: {
            "Content-Type": "application/json;charset=UTF-8",
        },
        data: params
    })
}
// 编辑岗位
export function updatePost(params) {
    return request({
        url: '/post/updatePost',
        method: 'post',
        headers: {
            "Content-Type": "application/json;charset=UTF-8",
        },
        data: params
    })
}
// 删除岗位
export function delPost(params) {
    return request({
        url: '/post/delPost',
        method: 'get',
        params
    })
}
// 岗位详细
export function queryPostInfo(params) {
    return request({
        url: '/post/queryPostInfo',
        method: 'post',
        method: 'get',
        params
    })
}